export default {
	state: {
		systemInfo: {}
	},
	mutations: {
		INIT_systemInfo(state) {
			let res = uni.getSystemInfoSync() || {};
			state.systemInfo = res || {}
			return res
		}
	},
	actions: {

	},
	getters: {
		systemInfo(state) {
			return state.systemInfo || {}
		},
		pixelRatio(state) {
			return state.systemInfo?.pixelRatio || 1
		}
	}
}